package ai.moran.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * @author zhuhaitao
 * @email zhuhaitao@imoran.net
 * @date 2020/7/30 1:20 下午
 */
@Data
@TableName(value = "personTable")
public class PersonTable implements Serializable {
    @TableId(value = "personId", type = IdType.INPUT)
    private Integer personid;

    @TableField(value = "name")
    private String name;

    @TableField(value = "gender")
    private String gender;

    @TableField(value = "age")
    private Integer age;

    private static final long serialVersionUID = 1L;

    public static final String COL_PERSONID = "personId";

    public static final String COL_NAME = "name";

    public static final String COL_GENDER = "gender";
}